tailwind center vertically

75

<div class="flex items-center justify-center h-screen">...</div>
  <div class="flex items-center justify-center h-screen">
    
	<div class="bg-indigo-800 text-white font-bold rounded-lg border shadow-lg p-10">
		Centered Content
	</div>
	
  </div>
<div class="flex items-center ...">
  <div>1</div>
  <div>2</div>
  <div>3</div>
</div>
<span class="inline-block align-middle ...">...</span>
<div class="overflow-y-auto h-32 ...">Lorem ipsum dolor sit amet...</div>

Comments

Submit
0 Comments